const Mock = require("mockjs")
const arr = Mock.mock({
  "data|20-200": [
    {
      number: /^[a-z0-9]{21}$/,
      questionType: "@integer(1, 3)",
      "questionNumber|2-6": [{
        number: /^[a-z0-9]{21}$/,
        id: "@integer(4, 50)"
      }],
      createTime: "@now",
      anserTime: "@integer(60, 10000)",
      correctPercent: "@integer(1,100)",
      creator: "@cname()",
      id: "@id"
    }
  ]
}
)
export default arr
